<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<select id="slt">
			<option>请选择</option>
		</select>
		<button id="but">生成</button>
		
		<script>
			var arr = ["故宫", "长城", "十三陵", "十渡", "圆明园", "颐和园", "世界公园", "玉渊潭", "欢乐谷"],
				slt = document.getElementById('slt'),
				but = document.getElementById('but');
				
			but.onclick = function(){
				var puarr = ['<option>请选择</option>'],
					len = arr.length,
					i;
				for(i = 0; i < len; i++){ //写这个的时候遇到第二个参数不对，导致浏览器崩溃
					puarr.push('<option>',arr[i],'</option>');
				};
				slt.innerHTML = puarr.join('');
			};
		</script>
		
	</body>
</html>
